package com.hrg.rds.biz.station.domain;

import com.hrg.sys.framework.web.domain.BaseEntity;
import lombok.Data;

@Data
public class Segment extends BaseEntity {
    private String id;
    private String name;
    private String code;
    private int type;
    private String startStation;
    private String endStation;
    // 单位米
    private double length;
    // 方向：1前进，-1后退
    private int direction;
    // 速度：单位米/秒
    private double speed;
    
    // 贝塞尔曲线坐标
    private double axis1X;
    private double axis1Y;
    private double axis2X;
    private double axis2Y;
    private double axis3X;
    private double axis3Y;
    private double axis4X;
    private double axis4Y;
    
    // 是否启用
    private boolean ifEnabled;
    // 开始结束是否相邻
    private boolean ifStartEndAdjoining;
}
